package com.stu.removeifelse.demo01.type;

import com.stu.removeifelse.demo01.InspectionConstant;
import com.stu.removeifelse.demo01.InspectionSolver;
import org.springframework.stereotype.Component;

/**
 * @author MI
 * @ClassName ChangeWarehouseSolver.java
 * @createTime 2021年08月26日 14:19:00
 */
@Component
public class ChangeWarehouseSolver implements InspectionSolver {
    @Override
    public void solve(Long orderId, Long userId) {
        System.out.println("订单"+orderId+"开始进行批量转仓了。。");
    }

    @Override
    public String[] supports() {
        return new String[] {InspectionConstant.INSPECTION_TASK_TYPE_BATCH_CHANGE_WAREHOUSE};
    }
}
